«start[,stop]» is a one or two items param, defining the starting item to insert before or to replace, and the optional ending item. Default is insertion after last item.
«replace» is a boolean defining if merging will insert (false) or replace (true) the target item(s). This param is handled only if <start[,stop]> param is defined. Default is false (insertion).
«i=sep» defines the item separator. sep can be any character, or the valid constants space, return, tab or quote. Default is comma. Current ItemDelimiter property value is equivalent.
«l=sep» defines the line separator. sep can be any character, or the valid constants space, return, tab or quote. Default is return. This powerful feature allows, in conjunction with «i=sep» param, to handle any type of list.
«"useEmpty"» is a litteral, and changes the behaviour of the XFCN. By default, any empty item in the new list is ignored, but whith "useEmpty", the empty items are handled and inserted or replaced in the destination list.
Using "!", "?" and "=" as first parameter will return an online help (resp. copyright, syntax and output).
USING
The XFCN returns the merged list.
ERRORS
If an error occurs, MergeItems can return :
"Error : Out of memory"
"Error : Missing parameter(s)"
"Error : Bad separator param"
"Error : Incorrect start item"
"Error : Stop item must be greater that start item"
Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses: